package com.suyuan.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * 物流批次管理
 *
 */
public class TransitBatchInfo implements Serializable{

    /**
     * 物流批次编号
     */
    private Integer transitBatchId;

    /**
     * 线路Id
     */
    private Integer routeId;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 货车Id
     */
    private Integer truckId;

    /**
     * 运输单位ID（公司id）
     */
    private Integer compId;

    public Integer getTransitBatchId() {
        return transitBatchId;
    }

    public void setTransitBatchId(Integer transitBatchId) {
        this.transitBatchId = transitBatchId;
    }

    public Integer getRouteId() {
        return routeId;
    }

    public void setRouteId(Integer routeId) {
        this.routeId = routeId;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getTruckId() {
        return truckId;
    }

    public void setTruckId(Integer truckId) {
        this.truckId = truckId;
    }

    public Integer getCompId() {
        return compId;
    }

    public void setCompId(Integer compId) {
        this.compId = compId;
    }

    @Override
    public String toString() {
        return "TransitBatchInfo{" +
                "transitBatchId=" + transitBatchId +
                ", routeId=" + routeId +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", truckId=" + truckId +
                ", compId=" + compId +
                '}';
    }
}